#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "SendDataWorker.h"

#include <QMainWindow>
#include <QStandardItem>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow {
  Q_OBJECT

public:
  MainWindow(QWidget *parent = nullptr);
  ~MainWindow();

private slots:
  void on_load_clicked();

  void on_start_clicked();

  void on_stop_clicked();

signals:
  void sigStart();

private:
  Ui::MainWindow *ui;

  QStandardItemModel *m_model;
  SendDataWorker *m_worker;
};
#endif // MAINWINDOW_H
